<template>
	<view class="content">
		<view class="status"></view>
		<view class="nav">
			<view class="left">
				<!-- 	<u-icon class="icon" name="arrow-left" size="44rpx" color="#C4C4C4" @click="toBack()"></u-icon> -->
			</view>
			<view class="center">
				首页
			</view>
			<view class="right" @click="toMessageList()">
				<image src="../../static/images/nav_icon.png" />
			</view>
		</view>
		<view class="pay_content">
			<view class="pay_type">
				<view class="item item_first" :class="{item_one:current==0,border_one:current==1}"
					@click="chooseWays(0)">
					<view class="img">
						<image src="../../static/icon_img/one.png" />
					</view>
					<view class="text_menu" :class="{text_menu_one:current==0}">
						刷卡收款
					</view>
				</view>
				<view class="item" :class="{item_one:current==1,border_one:current==2}" @click="chooseWays(1)">
					<view class="img">
						<image src="../../static/icon_img/two.png" />
					</view>
					<view class="text_menu" :class="{text_menu_two:current==1}">
						闪付收款
					</view>
				</view>

				<view class="item" :class="{item_one:current==2,border_one:current==3}" @click="chooseWays(2)">
					<view class="img">
						<image src="../../static/icon_img/three.png" />
					</view>
					<view class="text_menu" :class="{text_menu_three:current==2}">
						刷脸收款
					</view>
				</view>

				<view class="item item_last" :class="{item_one:current==3}" @click="chooseWays(3)">
					<view class="img">
						<image src="../../static/icon_img/four.png" />
					</view>
					<view class="text_menu" :class="{text_menu_four:current==3}">
						扫码收款
					</view>
				</view>
				<view class="empty" :class="{menuActive:current==1,menuActive_one:current==2,menuActive_two:current==3}"
					:style="{left:current*25+13+'%'}"></view>
			</view>
			<view class="money">
				<view class="Renminbi">
					<text style="font-size: 76rpx;font-weight: bold;line-height: 120rpx;">¥</text>
					<input type="number" :placeholder=setPlaceholder()
						placeholder-style=" color: #371818;opacity: 0.9;;font-family: Source Han Sans CN;;font-style: normal;font-size: 30rpx;"
						v-model="pay_s" />
					<text style="font-size: 40rpx;font-weight: 400;line-height: 120rpx;">元</text>
				</view>
			</view>
			<view class="tariff">
				费率：0.60% 实际到账：0.00元 手续费：0.00元
			</view>
			<view class="collections" @click="makeCollections()">
				立即收款
			</view>
		</view>

		<view class="advertisement">
			<image src="../../static/index_picture/advise.png" />
		</view>

		<view class="star_product">
			<view class="title">
				<view class="left">
					明显产品
				</view>
				<view class="right" @click="mallList()">
					<text>更多产品</text>
					<u-icon name="arrow-right" size="14"></u-icon>
				</view>
			</view>
			<view class="product">
				<view class="item" v-for="(item,index) in product" :key="index" @click="go_goodsDetail(item)">
					<view class="img">
						<image :src="Config_ysy.cosurl+item.image" />
					</view>
					<view class="title">
						{{item.name}}
					</view>
				</view>
			</view>
		</view>

		<view class="choose_menu">
			<u-grid :border="true" col="3" align="center" style="height: 451rpx;">
				<u-grid-item class="grid_item" @click="toKefu()">
					<!-- <u-icon :customStyle="{paddingTop:20+'rpx'}" :name="baseListItem.name" :size="22"></u-icon> -->
					<image class="u-grid_img" src="../../static/icon_img/customer.png" />
					<text class="grid-text">在线客服</text>
				</u-grid-item>
				<u-grid-item class="grid_item" @click="navTo()">
					<!-- <u-icon :customStyle="{paddingTop:20+'rpx'}" :name="baseListItem.name" :size="22"></u-icon> -->
					<image class="u-grid_img" src="../../static/icon_img/touch_it.png" />
					<text class="grid-text">快捷支付</text>
				</u-grid-item>
				<u-grid-item class="grid_item" @click="toTransactionRecord()">
					<!-- <u-icon :customStyle="{paddingTop:20+'rpx'}" :name="baseListItem.name" :size="22"></u-icon> -->
					<image class="u-grid_img" src="../../static/icon_img/transaction.png" />
					<text class="grid-text">交易记录</text>
				</u-grid-item>
				<u-grid-item class="grid_item" @click="toUpgrade()">
					<!-- <u-icon :customStyle="{paddingTop:20+'rpx'}" :name="baseListItem.name" :size="22"></u-icon> -->
					<image class="u-grid_img" src="../../static/icon_img/upgrade.png" />
					<text class="grid-text">升级代理</text>
				</u-grid-item>
				<u-grid-item class="grid_item" @click="toShare()">
					<!-- <u-icon :customStyle="{paddingTop:20+'rpx'}" :name="baseListItem.name" :size="22"></u-icon> -->
					<image class="u-grid_img" src="../../static/icon_img/share.png" />
					<text class="grid-text">分享好友</text>
				</u-grid-item>
				<u-grid-item class="grid_item" @click="toUseExplain()">
					<!-- <u-icon :customStyle="{paddingTop:20+'rpx'}" :name="baseListItem.name" :size="22"></u-icon> -->
					<image class="u-grid_img" src="../../static/icon_img/instructions.png" />
					<text class="grid-text">使用说明</text>
				</u-grid-item>
			</u-grid>
		</view>
		<!-- 底部导航栏 -->
		<view class="bottom-tab">
			<view class="bottom-tab-item-sider" @click="changeTab(item.id)" v-for="(item, index) in tabListParent"
				:key="index">
				<image v-if="index == 0" class="first-img" :src="item.imgOn"></image>
				<image v-if="index != 0" class="first-img" :src="item.imgOff"></image>
				<text :class="index == 0 ? 'text-position text-on' : 'text-position'">{{ item.name }}</text>
			</view>
		</view>
		<!-- 检查会员 -->
		<check ref="check"></check>
	</view>
</template>
<script>
	import {
		mapState
	} from 'vuex';
	import openAlert from '@/components/open-alert/open-alert';
	import check from '@/components/check/check/check';

	// 兼容
	var browser = {
		versions: (function() {
			var u = navigator.userAgent,
				app = navigator.appVersion;
			return {
				trident: u.indexOf('Trident') > -1,
				/*IE内核*/
				presto: u.indexOf('Presto') > -1,
				/*opera内核*/
				webKit: u.indexOf('AppleWebKit') > -1,
				/*苹果、谷歌内核*/
				gecko: u.indexOf('Gecko') > -1 && u.indexOf('KHTML') == -1,
				/*火狐内核*/
				mobile: !!u.match(/AppleWebKit.*Mobile.*/),
				/*是否为移动终端*/
				ios: !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),
				/*ios终端*/
				android: u.indexOf('Android') > -1 || u.indexOf('Linux') > -1,
				/*android终端或者uc浏览器*/
				iPhone: u.indexOf('iPhone') > -1,
				/*是否为iPhone或者QQHD浏览器*/
				iPad: u.indexOf('iPad') > -1,
				/*是否iPad*/
				webApp: u.indexOf('Safari') == -1,
				/*是否web应该程序，没有头部与底部*/
				souyue: u.indexOf('souyue') > -1,
				superapp: u.indexOf('superapp') > -1,
				weixin: u.toLowerCase().indexOf('micromessenger') > -1,
				Safari: u.indexOf('Safari') > -1
			};
		})(),
		language: (navigator.browserLanguage || navigator.language).toLowerCase()
	};
	export default {
		components: {
			check,
			mapState,
			openAlert
		},
		data() {
			return {
				current: 0,
				product: [],
				token: '35ddc967-de02-4cbd-aefb-1f2e7e443f5e',
				pay_s: null,
				curTab: 1,
				tabListParent: [{
						id: 1,
						name: '首页',
						imgOff: 'https://jialianxin-1301053941.cos.ap-chengdu.myqcloud.com/newTab/home.png',
						imgOn: 'https://jialianxin-1301053941.cos.ap-chengdu.myqcloud.com/newTab/home_select.png',
						url: '/pages/center/ai'
					},

					{
						id: 2,
						name: '任务',
						imgOff: 'https://jialianxin-1301053941.cos.ap-chengdu.myqcloud.com/newTab/rewu_select.png',
						imgOn: 'https://jialianxin-1301053941.cos.ap-chengdu.myqcloud.com/newTab/rewu.png',
						url: '/pages/center/center'
					},
					{
						id: 3,
						name: '公域',
						imgOff: 'https://jialianxin-1301053941.cos.ap-chengdu.myqcloud.com/newTab/business.png',
						imgOn: 'https://jialianxin-1301053941.cos.ap-chengdu.myqcloud.com/newTab/business_select.png',
						url: '/pages/saasShop/equity'
					},
					{
						id: 4,
						name: '课程',
						imgOff: 'https://jialianxin-1301053941.cos.ap-chengdu.myqcloud.com/newTab/kecheng_select.png',
						imgOn: 'https://jialianxin-1301053941.cos.ap-chengdu.myqcloud.com/newTab/kecheng.png',
						url: '/pages/center/cart'
					},
					// { id: 5, name: '消息', imgOff: 'https://jialianxin-1301053941.cos.ap-chengdu.myqcloud.com/newTab/news.png', imgOn: 'https://jialianxin-1301053941.cos.ap-chengdu.myqcloud.com/newTab/news_select.png', url: '/pages/center/user_chat/news_list' },
					{
						id: 5,
						name: '我的',
						imgOff: 'https://jialianxin-1301053941.cos.ap-chengdu.myqcloud.com/newTab/mine.png',
						imgOn: 'https://jialianxin-1301053941.cos.ap-chengdu.myqcloud.com/newTab/mine_select.png',
						url: '/pages/center/user'
					}
				],
			}
		},
		computed: {
			...mapState(['hasLogin', 'userInfo'])
		},
		onLoad(option) {
			let sid = option.shop_id
			let td = option.token;
			if (sid != null && sid != null && sid != 'undefined') {
				this.shop_id = option.shop_id;
			}
			if (td != null && td != null && td != 'undefined') {
				this.token = option.token;
			}
			this.getUserInfo();
			this.getPosList();

		},
		methods: {
			toMessageList() {
				uni.navigateTo({
					url: '../message_centre_list/message_centre_list'
				})
			},
			//立即收款
			makeCollections() {
				//判断是否实名
				var userInfo = uni.getStorageSync('userInfo');
				if (userInfo.is_certification == 0) {
					uni.navigateTo({
						url: '/pages/trueName/trueName'
					});
				}

				let userStatus = uni.getStorageSync('userStatus');
				if (userStatus == '普通用户') {
					this.$refs.check.show();
					return;
				}

				//如果为空提示请输入收款金额
				if (!this.pay_s) {
					this.Unfold_data.showWindow('请输入收款金额');
					return;
				}
				//收款金额必须是整数型
				if (this.pay_s % 1 != 0) {
					this.Unfold_data.showWindow('收款金额必须是整数，不能包含小数点');
					return;
				}
				if (this.pay_s < 100) {
					this.Unfold_data.showWindow('收款金额必须大于等于100元');
					return;
				}
				this.defaultCard();
				//判断是否为刷卡支付
				if (this.current == 0) {
					//直接跳转
					uni.navigateTo({
						url: '/pages/Payment_without_card/Payment_without_card?price=' + this.pay_s + '&token=' +
							this.token
					});
				} else {
					this.Unfold_data.showWindow('该功能暂未开放');
					return;
				}
			},
			//获取默认卡片
			defaultCard() {
				let params = {
					token: this.token
				};
				var url = '/api/bankcard/bankcard/default';
				this.Unfold_data.upload_data(params, 'POST', url, res => {
					if (res.statusCode == 200 && res.data.code == 1) {
						this.cards = res.data.data;
						//判断是否有默认收款卡
					} else {
						//显示错误信息
						this.Unfold_data.showWindow(res.data.msg);
					}
				});
			},
			//跳转至客服页面
			toKefu() {
				uni.navigateTo({
					url: '/pages/kefu/kefu?token=' + this.token
				});
			},
			toUpgrade() {
				sui.navigateTo({
					url: '/pages/myTeam/myTeam'
				})
			},
			//跳转交易记录页面
			toTransactionRecord() {
				uni.navigateTo({
					url: '../transaction_record/transaction_record'
				})
			},
			//跳转产品列表
			mallList() {
				uni.navigateTo({
					url: '../indexMallList/indexMallList?token=' + this.token
				});
			},
			//获取登录用户信息
			getUserInfo() {
				let param = {
					token: this.token
				}
				this.Unfold_data.upload_data({
					token: this.token
				}, 'POST', '/api/usercenter/user', res => {
					if (res.statusCode == 200 && res.data.code == 1) {
						uni.setStorageSync('userStatus', res.data.data.user_level);
						uni.setStorageSync('userInfo', res.data.data);
						uni.setStorageSync('parentMobile', res.data.data.puser.mobile);
					}
				});
			},
			//跳转商品详情
			go_goodsDetail(item) {
				uni.navigateTo({
					url: '/pages/goodsDetail/goodsDetail?id=' + item.id + '&token=' + this.token
				});
			},
			//获取pos机产品列表并截取前三个
			getPosList() {
				var url = '/api/home/index/posList';
				let params = {
					token: this.token
				};
				this.Unfold_data.upload_data(params, 'GET', url, res => {
					this.Unfold_data.refreshToken(res);
					if (res.statusCode == 200 && res.data.code == 1) {
						let posData = res.data.data;
						this.product = posData.slice(0, 3);
						// console.log(7777, this.product)
					} else {
						this.Unfold_data.showWindow(res.data.msg);
					}
				});
			},
			
			toBack() {
				uni.navigateBack({
					delta: 1
				})
			},
			chooseWays(index) {
				this.current = index
			},
			setPlaceholder() {
				return '请输入收款金额'
			},
			
			toShare() {
			sui.navigateTo({
				url:'/pages/share/share'
			})
			},
			//跳转到使用说明页面
			toUseExplain(){
				uni.navigateTo({
					url:'/pages/useDirections/useDirections?token='+this.token
				})
			},
			//底部导航
			changeTab(id) {
				console.log(4444, id)
				this.curTab = id;
				if (id == 2) {
					go('/pages/center/center');

					// sui.navigateTo({
					//   url: "",
					// });
				} else if (id == 3) {
					go('/pages/saasShop/equity');
				} else if (id == 4) {
					go('/pages/center/cart');
					// sui.navigateTo({
					//   url: "",
					// });
					// } else if (id == 5) {
					// 	  // console.log(sui)
					//    //     sui.navigateTo({
					//    //       url: "/pages/center/user_chat/user_chat",
					//    //     });
					// go("/pages/center/user_chat/user_chat")
				} else if (id == 5) {
					//   sui.navigateTo({
					//   url: "/pages/center/user",
					// });
					go('/pages/center/user');
				}
			},
			//快捷支付跳转
			navTo(item) {
				let userStatus = uni.getStorageSync('userStatus');
				if (userStatus == '普通用户') {
					this.$refs.check.show();
					return;
				}
				if (plus.os.name == 'Android') {
					//安卓
					if (
						plus.runtime.isApplicationExist({
							//查看安卓系统手机有没有下载这款app
							pname: 'com.txgapp.dsmobleps' //app云打包的包名
						})
					) {
						//安装了app
						plus.runtime.openURL('doushuarapp://doushuar', function(res) {
							console.log(res);
						});
					} else {
						//未安装app
						uni.showModal({
							title: '提示',
							content: '您还没有此APP,去注册下载',
							success: function(res) {
								if (res.confirm) {
									plus.runtime.openURL(
										'http://newpay-api.txguu.cn/share/dsShare?invite=e09669938',
										function(res) {
											console.log(res);
										});
								} else if (res.cancel) {
									console.log('用户点击取消');
								}
							}
						});
					}
				} else if (plus.os.name == 'iOS') {
					//苹果
					//因为ios查不到B款app在ios系统手机里面，其实下载了，也是检测不到，所以就不检测了
					//直接打开微信app，微信pp没有的话，会进入回调报错，我们在回调去打开下载链接
					plus.runtime.launchApplication({
							action: 'doushuar://'
						},
						function(e) {
							uni.showModal({
								title: '提示',
								content: '您还没有此APP,去注册下载',
								success: function(res) {
									if (res.confirm) {
										plus.runtime.openURL(
											'http://newpay-api.txguu.cn/share/dsShare?invite=e09669938',
											function(res) {
												console.log(res);
											});
									} else if (res.cancel) {
										console.log('用户点击取消');
									}
								}
							});
						}
					);
				}
			},
		}
	}

	function go(_url) {
		console.log('sui', sui);
		sui.navigateTo({
			url: _url
		});
	}
</script>
<style>
	page {
		background-color: #ffffff;
		background: url(../../static/images/backgrund.jpg);
		background-size: 100%;
	}
</style>
<style lang="scss" scoped>
	.content {
		text-align: center;
		align-items: center;
		width: 100%;
		padding-bottom: 140rpx;

		.status {
			height: var(--status-bar-height);
			background-color: #CD251E;
		}

		.nav {
			height: 120rpx;
			display: flex;
			justify-content: space-between;
			align-items: center;
			margin: auto 40rpx;

			.center {
				font-style: normal;
				font-size: 33rpx;
				font-family: Source Han Sans CN;
				font-weight: bold;
				color: #E2E2E2;
			}

			.right {
				height: 120rpx;
				text-align: center;
				align-items: center;

				image {
					height: 40rpx;
					width: 40rpx;
					margin-top: 40rpx;
				}
			}
		}

		.pay_content {
			text-align: center;
			background-color: #ffffff;
			height: 426rpx;
			border-radius: 20rpx;
			margin: 40rpx 38rpx auto 38rpx;

			.pay_type {
				height: 70rpx;
				display: flex;
				position: relative;
				background-color: #CBCBCB;
				border-top-left-radius: 20rpx;
				border-top-right-radius: 20rpx;
				border-bottom: none;

				.item {
					height: 70rpx;
					width: 25%;
					background-color: #CBCBCB;
					display: flex;
					// border-top-left-radius: 20rpx;
					// border-top-right-radius: 20rpx;
					border-right: 5rpx solid #DCDCDC;
					text-align: center;
					justify-content: center;

					.img {
						text-align: center;
						align-items: center;
						height: 70rpx;

						image {
							width: 45rpx;
							height: 45rpx;
							margin: 18rpx 5rpx auto 10rpx;

						}
					}

					.text_menu {
						height: 70rpx;
						font-size: 22rpx;
						font-family: PingFang SC;
						font-weight: 400;
						color: #232222;
						text-align: center;
						line-height: 70rpx;

					}

					.text_menu_one {

						height: 70rpx;
						font-size: 22rpx;
						font-family: PingFang SC;
						font-weight: 400;
						color: #C22420;
						text-align: center;
						line-height: 70rpx;
					}

					.text_menu_two {
						height: 70rpx;
						font-size: 22rpx;
						font-family: PingFang SC;
						font-weight: 400;
						color: #306BB3;
						text-align: center;
						line-height: 70rpx;
					}

					.text_menu_three {
						height: 70rpx;
						font-size: 22rpx;
						font-family: PingFang SC;
						font-weight: 400;
						color: #DD8E48;
						text-align: center;
						line-height: 70rpx;
					}

					.text_menu_four {
						height: 70rpx;
						font-size: 22rpx;
						font-family: PingFang SC;
						font-weight: 400;
						color: #3DB02B;
						text-align: center;
						line-height: 70rpx;
					}
				}

				.item_first {
					border-top-left-radius: 20rpx;
				}

				.item_last {
					border-top-right-radius: 20rpx;
					border-right: none;
				}

				.item_one {
					height: 70rpx;
					width: 25%;
					background-color: #ffffff;
					display: flex;
					border-top-left-radius: 20rpx;
					border-top-right-radius: 20rpx;
					// border-right: 5rpx solid #DCDCDC;
					text-align: center;
				}

				.border_one {
					border-right: none;
				}

				.empty {
					height: 8rpx;
					background: #BC100c;
					width: 60rpx;
					position: absolute;
					transition: 0.5s;
					margin-left: -30rpx;
					margin-top: 70rpx;
					border-radius: 50rpx;
				}

				.menuActive {
					height: 8rpx;
					background: #2966B2;
					width: 60rpx;
					position: absolute;
					transition: 0.5s;
					margin-left: -30rpx;
					margin-top: 70rpx;
					border-radius: 50rpx;
				}

				.menuActive_one {
					height: 8rpx;
					background: #DA965B;
					width: 60rpx;
					position: absolute;
					transition: 0.5s;
					margin-left: -30rpx;
					margin-top: 70rpx;
					border-radius: 50rpx;
				}

				.menuActive_two {
					height: 8rpx;
					background: #3AB027;
					width: 60rpx;
					position: absolute;
					transition: 0.5s;
					// margin-left: -30rpx;
					// margin-right: 38rpx;
					margin-top: 70rpx;
					border-radius: 50rpx;
				}
			}

			.money {
				height: 180rpx;
				text-align: center;
				padding-top: 40rpx;

				.Renminbi {
					height: 120rpx;
					border-bottom: 1rpx solid #CBCBCB;
					margin: auto 32rpx;
					display: flex;
					justify-content: space-between;

					input {
						width: 80%;
						height: 120rpx;
						line-height: 120rpx;
						text-align: right;
						margin-top: 4rpx;
						font-size: 38rpx;
						font-weight: 400;
					}
				}
			}

			.tariff {
				height: 40rpx;
				margin: 10rpx 32rpx auto 32rpx;
				text-align: right;
				font-size: 23rpx;
				font-family: Source Han Sans CN;
				font-weight: 400;
				color: #998E78;
				line-height: 23rpx;
				opacity: 0.7;
				line-height: 40rpx;
			}

			.collections {
				height: 70rpx;
				background-color: #BC100c;
				margin: 28rpx 32rpx auto 32rpx;
				border-radius: 8rpx;
				text-align: center;
				font-size: 35rpx;
				font-family: Source Han Sans CN;
				font-weight: 500;
				color: #E2E1E2;
				align-items: center;
				line-height: 70rpx;
			}

		}

		.advertisement {
			height: 191rpx;
			text-align: center;
			margin: 23rpx 29rpx auto 29rpx;

			image {
				height: 191rpx;
				width: 100%;
			}
		}

		.star_product {
			height: 314rpx;
			background-color: #ffffff;
			margin: 23rpx 40rpx auto 40rpx;
			border-radius: 10rpx;
			padding-left: 30rpx;
			padding-right: 30rpx;

			.title {
				display: flex;
				height: 70rpx;
				// border-top-left-radius: 10rpx;
				// border-top-right-radius: 10rpx;
				justify-content: space-between;
				align-items: center;

				.left {
					font-size: 26rpx;
					font-family: PingFang SC;
					font-weight: 600;
					color: #242124;

				}

				.right {
					display: flex;
					height: 70rpx;
					align-items: center;

					text {
						font-size: 18rpx;
						font-family: PingFang SC;
						font-weight: 500;
						color: #242124;
					}
				}
			}

			.product {
				height: 210rpx;
				margin-top: 10rpx;
				display: flex;
				justify-content: space-between;

				.item {
					width: 130rpx;
					height: 210rpx;
					border-radius: 12rpx;

					.img {
						width: 130rpx;
						height: 150rpx;
						border-top-left-radius: 12rpx;
						border-top-right-radius: 12rpx;

						image {
							width: 130rpx;
							height: 150rpx;
							border-top-left-radius: 12rpx;
							border-top-right-radius: 12rpx;
						}
					}

					.title {
						height: 60rpx;
						width: 130rpx;
						// text-overflow: -o-ellipsis-lastline;
						// overflow: hidden;
						// text-overflow: ellipsis;
						// display: -webkit-box;
						// -webkit-line-clamp: 2;
						// -webkit-box-orient: vertical;
						overflow: hidden;
						text-overflow: ellipsis;
						white-space: nowrap;
						font-size: 21rpx;
						font-family: Source Han Sans CN;
						font-weight: 500;
						color: #4B4B4B;
					}
				}
			}
		}

		.choose_menu {
			height: 445rpx;
			background-color: #ffffff;
			margin: 23rpx 40rpx auto 40rpx;
			border-radius: 10rpx;

			.grid_item {
				text-align: center;
				align-items: center;
				justify-content: center;
				height: 225rpx;
			}

			.grid-text {
				font-size: 28rpx;
				color: #909399;
				padding: 10rpx 0 20rpx 0rpx;
				/* #ifndef APP-PLUS */
				box-sizing: border-box;
				/* #endif */
			}

			.u-grid_img {
				width: 65rpx;
				height: 75rpx;
				margin-top: 10rpx;
			}
		}

		.bottom-tab {
			position: fixed;
			z-index: 3000;
			// background-image: url(https://jialianxin-1301053941.cos.ap-chengdu.myqcloud.com/static/tab.png);
			background-color: #f7f6f6;
			bottom: 0%;
			left: 0%;
			width: 100%;
			height: 120upx;
			display: flex;
			align-items: center;
			justify-content: space-between;

			.bottom-tab-item-center {
				width: 24%;
				display: flex;
				flex-direction: column;
				align-items: center;
				justify-content: center;
				margin-top: -40upx;

				.first-img {
					width: 100upx;
					height: 100upx;
					margin-top: -0.8rem;

					border-radius: 50%;
				}

				.text-position {
					margin-top: 0rem;
					font-size: 0.6rem;
					color: #757575;
				}

				.text-on {
					color: #b49828;
				}
			}

			.bottom-tab-item-sider {
				width: 15%;
				display: flex;
				flex-direction: column;
				align-items: center;
				justify-content: center;

				.first-img {
					width: 46upx;
					height: 46upx;
				}

				.text-position {
					margin-top: 12upx;
					font-size: 0.6rem;
					color: #757575;
				}

				.text-on {
					font-weight: bold;
					color: #f7992b;
				}
			}
		}

	}
</style>
